using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InnovaApp.Layers.ResourcesLayer.Properties;
using InnovaApp.Portals.MVC4Portal.Models.ClientFilesGenerationModels;

namespace InnovaApp.Portals.MVC4Portal.Controllers.ClientFilesGenerationControllers
{
    public partial class ScriptsGController : _ClientFilesGenerationControllers_Base
    {
        /// <summary>
        /// GET: /ScriptsG/CustomControllerDynamic.js
        /// </summary>
        /// <returns>ActionResult.</returns>
        public ActionResult InnovacallDynamic(string language)
        {
            LocalizeDynamicScripts(language);
            toReturn.Variables.Add("ControllerName", "Innovacall");
            toReturn.Variables.Add("cap_Ribbon_Tab01_Test", Resources.View_Innovacall_Cap_Ribbon_Tab01_Test);
            toReturn.Variables.Add("cap_Ribbon_Tab02_Manage", Resources.View_Innovacall_Cap_Ribbon_Tab02_Manage);
            toReturn.Variables.Add("cap_Ribbon_Tab03_Schedule",Resources.View_Innovacall_Cap_Ribbon_Tab03_Schedule);
            toReturn.Variables.Add("cap_Ribbon_Tab04_Results", Resources.View_Innovacall_Cap_Ribbon_Tab04_Results);
            toReturn.Variables.Add("cap_Ribbon_TogglePreview", Resources.View_DynaContent_Cap_Ribbon_TogglePreview);
            toReturn.Variables.Add("cap_Ribbon_TogglePreview_Title", Resources.View_DynaContent_Cap_Ribbon_TogglePreview_Title);
            toReturn.Variables.Add("cap_Ribbon_Save", Resources.View_DynaContent_Cap_Ribbon_Save);
            toReturn.Variables.Add("cap_Ribbon_Save_Title", Resources.View_DynaContent_Cap_Ribbon_Save_Title);

            Response.ContentType = "text/javascript";
            return View(toReturn);
        }
    }
}